#ifndef ROTATINGOBJECT_H_
#define ROTATINGOBJECT_H_
#include "ClosedObject.h"

class RotatingObject : public ClosedObject
{
	
	protected:
	
	Vertex rotationPoint;
	
	public:
	RotatingObject(TextureManager * textureManager, Vertex position);
	RotatingObject(TextureManager * textureManager, float textureRotation,Vertex position, Vertex rotationPoint, VertexList * vertices, Material * material, float mass);
	~RotatingObject();
	
	virtual void GetHoverGroup(Mouse * mouse, VertexList * group);
	virtual char * GetTag();
	virtual Vector2D GetRotationPoint();
	virtual void DrawEntryPoint();
	virtual void Rotate(float theta);
};
#endif /*ROTATINGOBJECT_H_*/
